﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class PLMReparationInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class PLMReparationInfoRequestDto
    {
        /// <summary>
        /// 描述 : 机台号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "machine_no")]
        public string machine_no { get; set; }
        

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class PLMReparationInfoResponseDto
    {
       
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<PLMReparationInfoResponseData> data { get; set; }

    }

    public class PLMReparationInfoResponseData
    {
        /// <summary>
        /// 描述 : 机台号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "machine_no")]
        public string machine_no { get; set; }

        /// <summary>
        /// 描述 : 阶段 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "process_gradation")]
        public string process_gradation { get; set; }


        /// <summary>
        /// 描述 : 台速 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "machine_speed")]
        public double? machine_speed { get; set; }


        /// <summary>
        /// 描述 : 线速
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "line_speed")]
        public double? line_speed { get; set; }

        /// <summary>
        /// 描述 : 供线
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supply_line")]
        public double? supply_line { get; set; }

        /// <summary>
        /// 描述 : 回线
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "return_line")]
        public double? return_line { get; set; }

        /// <summary>
        /// 描述 : 版本
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "process_version")]
        public double? process_version { get; set; }

        /// <summary>
        /// 描述 : 版本状态
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "version_status")]
        public string version_status { get; set; }

        /// <summary>
        /// 描述 : 流水号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ccode")]
        public string ccode { get; set; }

        /// <summary>
        /// 描述 : 备注
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remarks")]
        public string remarks { get; set; }








    }
}
